<h1><?php echo $title;?></h1>
<?php echo validation_errors(); ?>
<?php
echo form_open('cmemberlogin/changepassword',array('name'=>'frm-changepassword','id'=>'frm-changepassword'));
echo "<table>";
echo "<tr><td><label for='currentpassword'>Current Password</label></td>";
echo "<td>";
$data = array('name'=>'currentpassword','id'=>'currentpassword','size'=>25);
echo form_input($data); 
echo "</td>";
echo "<td><span style='color:#f00;' class='currentmessage'></span></td>";
echo "</tr>";
/*echo "<tr><td><label for='confirm_oldpassword'>Confirm Old Password</label></td>";
echo "<td>";
$data = array('name'=>'confirm_oldpassword','id'=>'confrm-oldpassword','size'=>25);
echo form_input($data); 
echo "</td>";
echo "</tr>";*/
echo "<tr><td><label for='newpassword'>New Password</label></td>";
echo "<td>";
$data = array('name'=>'newpassword','id'=>'newpassword','size'=>25);
echo form_input($data); 
echo "</td>";
echo "</tr>";
echo "<tr><td><label for='confirm_newpassword'>Confirm New Password</label></td>";
echo "<td>";
$data = array('name'=>'confirm_newpassword','id'=>'confirm-newpassword','size'=>25);
echo form_input($data); 
echo "</td>";
echo "</tr>";
echo "<tr><td></td>";
echo "<td>".form_submit(array('class'=>'btn','name'=>'submit'),'Change')."</td>";
echo "</tr>";
echo "</table>";
echo form_close();
?>